from rest_framework import serializers
from meituan.models import Merchant

## 序列化商家的所有字段
class MerchantSerializer(serializers.ModelSerializer):
    class Meta:
        model = Merchant
        fields = "__all__"
        #exclude = ['name']
